import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './router'
import ElementUI from 'element-ui'
// import './assets/reset.css'

// element-ui
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(VueRouter)
Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router,
  beforeCreate(){
    // 注册全局事件总线
    Vue.prototype.$bus = this
  }
}).$mount('#app')
